package MazeSolver;

import java.awt.image.BufferedImage;

public class EuclideanModel extends MazeModel{

	public EuclideanModel(BufferedImage maze, MazeView view) {
		super(maze, view);
	}

	private int sqr(int x) {
		return x * x;
	}
	
	@Override
	public int heuristic(Point p) {
		//return 100 * (int) Math.sqrt(sqr(p.getX() - end.getX()) + sqr(p.getY() - end.getY()));
		return 1;
	}

}
